package org.dromara.mall.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.mall.domain.Member;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 会员管理视图对象 member
 *
 * @author Mr Lei QQ：235921049
 * @date 2024-07-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Member.class)
public class MemberVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 用户名
     */
    @ExcelProperty(value = "用户名")
    private String username;

    /**
     * 昵称
     */
    @ExcelProperty(value = "昵称")
    private String nickname;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别")
    private String gender;

    /**
     * 头像
     */
    @ExcelProperty(value = "头像")
    private String avatar;

    /**
     * 用户类别
     */
    @ExcelProperty(value = "用户类别")
    private String rolesId;

    /**
     * 电话
     */
    @ExcelProperty(value = "电话")
    private String mobile;

    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱")
    private String email;

    /**
     * 余额
     */
    @ExcelProperty(value = "余额")
    private BigDecimal money;

    /**
     * 冻结资金
     */
    @ExcelProperty(value = "冻结资金")
    private BigDecimal frozenMoney;

    /**
     * 积分
     */
    @ExcelProperty(value = "积分")
    private BigDecimal integral;

    /**
     * 账号状态
     */
    @ExcelProperty(value = "账号状态")
    private String status;

    /**
     * 失效时间
     */
    @ExcelProperty(value = "失效时间")
    private Date invalidTime;

    /**
     * 登陆IP
     */
    @ExcelProperty(value = "登陆IP")
    private String ip;

    /**
     * 登陆时间
     */
    @ExcelProperty(value = "登陆时间")
    private Date loginTime;

    /**
     * 最后一次登陆
     */
    @ExcelProperty(value = "最后一次登陆")
    private Date lastLoginTime;


}
